Optimal. Leaf size=91 \[ \frac{b^2 (3 a-2 b) \sinh (c+d x)}{d}+\frac{(a+5 b) (a-b)^2 \tan ^{-1}(\sinh (c+d x))}{2 d}+\frac{(a-b)^3 \tanh (c+d x) \text{sech}(c+d x)}{2 d}+\frac{b^3 \sinh ^3(c+d x)}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0957924, antiderivative size = 91, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 4, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.174, Rules used = {3190, 390, 385, 203} \[ \frac{b^2 (3 a-2 b) \sinh (c+d x)}{d}+\frac{(a+5 b) (a-b)^2 \tan ^{-1}(\sinh (c+d x))}{2 d}+\frac{(a-b)^3 \tanh (c+d x) \text{sech}(c+d x)}{2 d}+\frac{b^3 \sinh ^3(c+d x)}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3190
Rule 390
Rule 385
Rule 203
Rubi steps
\begin{align*} \int \text{sech}^3(c+d x) \left (a+b \sinh ^2(c+d x)\right )^3 \, dx &=\frac{\operatorname{Subst}\left (\int \frac{\left (a+b x^2\right )^3}{\left (1+x^2\right )^2} \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac{\operatorname{Subst}\left (\int \left ((3 a-2 b) b^2+b^3 x^2+\frac{(a-b)^2 (a+2 b)+3 (a-b)^2 b x^2}{\left (1+x^2\right )^2}\right ) \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac{(3 a-2 b) b^2 \sinh (c+d x)}{d}+\frac{b^3 \sinh ^3(c+d x)}{3 d}+\frac{\operatorname{Subst}\left (\int \frac{(a-b)^2 (a+2 b)+3 (a-b)^2 b x^2}{\left (1+x^2\right )^2} \, dx,x,\sinh (c+d x)\right )}{d}\\ &=\frac{(3 a-2 b) b^2 \sinh (c+d x)}{d}+\frac{b^3 \sinh ^3(c+d x)}{3 d}+\frac{(a-b)^3 \text{sech}(c+d x) \tanh (c+d x)}{2 d}+\frac{\left ((a-b)^2 (a+5 b)\right ) \operatorname{Subst}\left (\int \frac{1}{1+x^2} \, dx,x,\sinh (c+d x)\right )}{2 d}\\ &=\frac{(a-b)^2 (a+5 b) \tan ^{-1}(\sinh (c+d x))}{2 d}+\frac{(3 a-2 b) b^2 \sinh (c+d x)}{d}+\frac{b^3 \sinh ^3(c+d x)}{3 d}+\frac{(a-b)^3 \text{sech}(c+d x) \tanh (c+d x)}{2 d}\\ \end{align*}
Mathematica [C] time = 7.32553, size = 347, normalized size = 3.81 \[ \frac{\text{csch}^5(c+d x) \left (-256 \sinh ^8(c+d x) \left (a+b \sinh ^2(c+d x)\right )^3 \text{HypergeometricPFQ}\left (\left \{\frac{3}{2},2,2,2,2\right \},\left \{1,1,1,\frac{11}{2}\right \},-\sinh ^2(c+d x)\right )+21 \left (3 b \left (753 a^2+18280 a b+10805 b^2\right ) \sinh ^6(c+d x)+3 a \left (491 a^2+16120 a b+36015 b^2\right ) \sinh ^4(c+d x)+5 a^2 (3224 a+21609 b) \sinh ^2(c+d x)+36015 a^3+b^2 (2259 a+17320 b) \sinh ^8(c+d x)+753 b^3 \sinh ^{10}(c+d x)\right )-\frac{315 \tanh ^{-1}\left (\sqrt{-\sinh ^2(c+d x)}\right ) \left (3 b \left (a^2+243 a b+625 b^2\right ) \sinh ^8(c+d x)+\left (585 a^2 b-47 a^3+6057 a b^2+2161 b^3\right ) \sinh ^6(c+d x)+3 a \left (81 a^2+1875 a b+2401 b^2\right ) \sinh ^4(c+d x)+3 a^2 (625 a+2401 b) \sinh ^2(c+d x)+2401 a^3+3 b^2 (a+81 b) \sinh ^{10}(c+d x)+b^3 \sinh ^{12}(c+d x)\right )}{\sqrt{-\sinh ^2(c+d x)}}\right )}{30240 d} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [B] time = 0.055, size = 286, normalized size = 3.1 \begin{align*}{\frac{{a}^{3}{\rm sech} \left (dx+c\right )\tanh \left ( dx+c \right ) }{2\,d}}+{\frac{{a}^{3}\arctan \left ({{\rm e}^{dx+c}} \right ) }{d}}-3\,{\frac{{a}^{2}b\sinh \left ( dx+c \right ) }{d \left ( \cosh \left ( dx+c \right ) \right ) ^{2}}}+{\frac{3\,{a}^{2}b{\rm sech} \left (dx+c\right )\tanh \left ( dx+c \right ) }{2\,d}}+3\,{\frac{{a}^{2}b\arctan \left ({{\rm e}^{dx+c}} \right ) }{d}}+3\,{\frac{a{b}^{2} \left ( \sinh \left ( dx+c \right ) \right ) ^{3}}{d \left ( \cosh \left ( dx+c \right ) \right ) ^{2}}}+9\,{\frac{a{b}^{2}\sinh \left ( dx+c \right ) }{d \left ( \cosh \left ( dx+c \right ) \right ) ^{2}}}-{\frac{9\,a{b}^{2}{\rm sech} \left (dx+c\right )\tanh \left ( dx+c \right ) }{2\,d}}-9\,{\frac{a{b}^{2}\arctan \left ({{\rm e}^{dx+c}} \right ) }{d}}+{\frac{{b}^{3} \left ( \sinh \left ( dx+c \right ) \right ) ^{5}}{3\,d \left ( \cosh \left ( dx+c \right ) \right ) ^{2}}}-{\frac{5\,{b}^{3} \left ( \sinh \left ( dx+c \right ) \right ) ^{3}}{3\,d \left ( \cosh \left ( dx+c \right ) \right ) ^{2}}}-5\,{\frac{{b}^{3}\sinh \left ( dx+c \right ) }{d \left ( \cosh \left ( dx+c \right ) \right ) ^{2}}}+{\frac{5\,{b}^{3}{\rm sech} \left (dx+c\right )\tanh \left ( dx+c \right ) }{2\,d}}+5\,{\frac{{b}^{3}\arctan \left ({{\rm e}^{dx+c}} \right ) }{d}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.59216, size = 482, normalized size = 5.3 \begin{align*} \frac{1}{24} \, b^{3}{\left (\frac{27 \, e^{\left (-d x - c\right )} - e^{\left (-3 \, d x - 3 \, c\right )}}{d} - \frac{120 \, \arctan \left (e^{\left (-d x - c\right )}\right )}{d} - \frac{25 \, e^{\left (-2 \, d x - 2 \, c\right )} + 77 \, e^{\left (-4 \, d x - 4 \, c\right )} + 3 \, e^{\left (-6 \, d x - 6 \, c\right )} - 1}{d{\left (e^{\left (-3 \, d x - 3 \, c\right )} + 2 \, e^{\left (-5 \, d x - 5 \, c\right )} + e^{\left (-7 \, d x - 7 \, c\right )}\right )}}\right )} + \frac{3}{2} \, a b^{2}{\left (\frac{6 \, \arctan \left (e^{\left (-d x - c\right )}\right )}{d} - \frac{e^{\left (-d x - c\right )}}{d} + \frac{4 \, e^{\left (-2 \, d x - 2 \, c\right )} - e^{\left (-4 \, d x - 4 \, c\right )} + 1}{d{\left (e^{\left (-d x - c\right )} + 2 \, e^{\left (-3 \, d x - 3 \, c\right )} + e^{\left (-5 \, d x - 5 \, c\right )}\right )}}\right )} - 3 \, a^{2} b{\left (\frac{\arctan \left (e^{\left (-d x - c\right )}\right )}{d} + \frac{e^{\left (-d x - c\right )} - e^{\left (-3 \, d x - 3 \, c\right )}}{d{\left (2 \, e^{\left (-2 \, d x - 2 \, c\right )} + e^{\left (-4 \, d x - 4 \, c\right )} + 1\right )}}\right )} - a^{3}{\left (\frac{\arctan \left (e^{\left (-d x - c\right )}\right )}{d} - \frac{e^{\left (-d x - c\right )} - e^{\left (-3 \, d x - 3 \, c\right )}}{d{\left (2 \, e^{\left (-2 \, d x - 2 \, c\right )} + e^{\left (-4 \, d x - 4 \, c\right )} + 1\right )}}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.81228, size = 4188, normalized size = 46.02 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.43009, size = 354, normalized size = 3.89 \begin{align*} \frac{{\left (\pi + 2 \, \arctan \left (\frac{1}{2} \,{\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )} e^{\left (-d x - c\right )}\right )\right )}{\left (a^{3} + 3 \, a^{2} b - 9 \, a b^{2} + 5 \, b^{3}\right )}}{4 \, d} + \frac{a^{3}{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )} - 3 \, a^{2} b{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )} + 3 \, a b^{2}{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )} - b^{3}{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}}{{\left ({\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}^{2} + 4\right )} d} + \frac{b^{3} d^{2}{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}^{3} + 36 \, a b^{2} d^{2}{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )} - 24 \, b^{3} d^{2}{\left (e^{\left (d x + c\right )} - e^{\left (-d x - c\right )}\right )}}{24 \, d^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]